home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2004 April / SGI IRIX 6.5 Applications 2004 April.iso / dist / mozilla.idb / var / netscape / mozilla / chrome / comm.jar.z / comm.jar / content / cookie / cookieAcceptDialog.xul < prev    next >
Extensible Markup Language  |  2003-11-11  |  5KB  |  151 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.    -
  6.    - The contents of this file are subject to the Mozilla Public License Version
  7.    - 1.1 (the "License"); you may not use this file except in compliance with
  8.    - the License. You may obtain a copy of the License at
  9.    - http://www.mozilla.org/MPL/
  10.    -
  11.    - Software distributed under the License is distributed on an "AS IS" basis,
  12.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.    - for the specific language governing rights and limitations under the
  14.    - License.
  15.    -
  16.    - The Original Code is cookie manager code.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Michiel van Leeuwen.
  20.    - Portions created by the Initial Developer are Copyright (C) 2002
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -
  25.    - Alternatively, the contents of this file may be used under the terms of
  26.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  27.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.    - in which case the provisions of the GPL or the LGPL are applicable instead
  29.    - of those above. If you wish to allow use of your version of this file only
  30.    - under the terms of either the GPL or the LGPL, and not to allow others to
  31.    - use your version of this file under the terms of the MPL, indicate your
  32.    - decision by deleting the provisions above and replace them with the notice
  33.    - and other provisions required by the LGPL or the GPL. If you do not delete
  34.    - the provisions above, a recipient may use your version of this file under
  35.    - the terms of any one of the MPL, the GPL or the LGPL.
  36.    -
  37.    - ***** END LICENSE BLOCK ***** -->
  38.  
  39. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  40.  
  41. <!DOCTYPE dialog SYSTEM "chrome://cookie/locale/cookieAcceptDialog.dtd">
  42.  
  43. <!-- use a overlay te be able to put the accept/deny buttons not on the bottom -->
  44. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  45.  
  46. <!-- use buttons="disclosure" to hide ok/cancel buttons. Those are added manually later -->
  47. <dialog id="cookieAcceptDialog"
  48.     acceptLabel="&button.allow.label;"
  49.     cancelLabel="&button.deny.label;"
  50.     onload="onload();"
  51.     ondialogaccept="return doOKButton();"
  52.     title="&dialog.title;"
  53.     buttons="disclosure"
  54.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  55.  
  56.   <script src="cookieAcceptDialog.js" type="application/x-javascript"/>
  57.   <stringbundle id="cookieBundle"
  58.                 src="chrome://cookie/locale/cookieAcceptDialog.properties"/>
  59.  
  60.   <vbox>
  61.     <hbox>
  62.       <hbox align="start">
  63.         <image id="infoicon" class="spaced alert-icon"/>
  64.       </hbox>
  65.  
  66.       <vbox flex="1">
  67.         <!-- text -->
  68.         <vbox id="dialogtextbox">
  69.           <description id="dialog-header" class="header"/>
  70.         </vbox>
  71.  
  72.         <hbox id="checkboxContainer">
  73.           <checkbox id="persistDomainAcceptance"
  74.                     label="&dialog.remember.label;" accesskey="&dialog.remember.accesskey;"
  75.                     persist="checked"/>
  76.         </hbox>
  77.       </vbox>
  78.  
  79.     </hbox>
  80.  
  81.     <hbox>
  82.       <button id="disclosureButton" dlgtype="disclosure" class="exit-dialog" 
  83.               oncommand="showhideinfo();"/>
  84.       <spacer flex="1"/>
  85.       <hbox id="okCancelButtonsRight"/>
  86.     </hbox>
  87.  
  88.     <vbox id="infobox" hidden="true" persist="hidden">
  89.       <separator class="groove"/>
  90.       <grid flex="1">
  91.         <columns>
  92.           <column/>
  93.           <column flex="1"/>
  94.         </columns>
  95.         <rows>
  96.  
  97.           <row align="center">
  98.             <hbox align="center" pack="end">
  99.               <label value="&props.name.label;"/>
  100.             </hbox>
  101.             <textbox id="ifl_name" readonly="true" class="plain"/>
  102.           </row>
  103.  
  104.           <row align="center">
  105.             <hbox align="center" pack="end">
  106.               <label value="&props.value.label;"/>
  107.             </hbox>
  108.             <textbox id="ifl_value" readonly="true" class="plain"/>
  109.           </row>
  110.  
  111.           <row align="center">
  112.             <hbox align="center" pack="end">
  113.               <label id="ifl_isDomain" value="&props.domain.label;"/>
  114.             </hbox>
  115.             <textbox id="ifl_host" readonly="true" class="plain"/>
  116.           </row>
  117.  
  118.           <row align="center">
  119.             <hbox align="center" pack="end">
  120.               <label value="&props.path.label;"/>
  121.             </hbox>
  122.             <textbox id="ifl_path" readonly="true" class="plain"/>
  123.           </row>
  124.  
  125.           <row align="center">
  126.             <hbox align="center" pack="end">
  127.               <label value="&props.secure.label;"/>
  128.             </hbox>
  129.             <textbox id="ifl_isSecure" readonly="true" class="plain"/>
  130.           </row>
  131.  
  132.           <row align="center">
  133.             <hbox align="center" pack="end">
  134.               <label value="&props.expires.label;"/>
  135.             </hbox>
  136.             <textbox id="ifl_expires" readonly="true" class="plain"/>
  137.           </row>
  138.  
  139.           <row align="center" id="policyField" hidden="true">
  140.             <hbox align="center" pack="end">
  141.               <label value="&props.policy.label;"/>
  142.             </hbox>
  143.             <textbox id="ifl_policy" readonly="true" class="plain"/>
  144.           </row>
  145.  
  146.         </rows>
  147.       </grid>
  148.     </vbox>
  149.   </vbox>
  150. </dialog>
  151.